pp108 : CWS Command-line Tool - CWSDeploy

CWS Command-line Tool - CWSDeploy

This topic describes the CWS command-line tool called CWSDeploy.

The command-line tool CWSDeploy can be used to deploy documents to the corresponding run-time repository.

For general instructions on how to use CWS command-line tools, refer to Using the CWS Command-line Tools.

The command-line tool CWSDeploy accepts three parameters:

CWSDeploy <ORGANIZATION_NAME> <WORKSPACE_NAME> <DOCUMENT_NAME>

where,

  • <ORGANIZATION_NAME> is the name of the organization in which the document resides
  • <WORKSPACE_NAME> is the name of the workspace in which the document resides
  • <DOCUMENT_NAME> is the name of the document in terms of its path in the workspace

For example, if your organization is called 'MyOrganization', your workspace is called 'MyWorkspace', and that workspace contains a document with the path 'MyApplication/Roles/MyRole', deploying that document to the corresponding run-time repository can be done using the following command:

CWSDeploy MyOrganization MyWorkspace MyApplication/Roles/MyRole

Note: In cases where any of the parameters contain white space characters, you must include them in double quotes as shown below:

CWSDeploy "My Organization" "My Workspace" "My Application/Role/My Role"